package com.atguigu.mybatis.mapper;

import com.atguigu.mybatis.entity.Employee;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmployeeMapper {
    List<Employee> selectByCondition(Employee condition);

    void updateEmployee(Employee employee);

    List<Employee> selectTestTrim(Employee condition);

    List<Employee> selectTestChoose(Employee condition);

    void batchInsert(@Param("employeeList") List<Employee> employeeList);

    void batchUpdate(@Param("employeeList") List<Employee> employeeList);

    List<Employee> selectAll();

    void insert(Employee employee);
}
